{include file="admin/modules/shop_cart/tabs.html"}
<table width="100%" cellpadding="0" cellspacing="0" style="border:1px solid #C4CDD2; border-top:0px; background:#DBE1E5; padding:5px 5px 5px 5px">
	<tr>
		<td>
		<table width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td height="10"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
			</tr>
			<tr>
				<td height="1" bgcolor="#ADB9BF"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
			</tr>
			<tr>
				<td height="1" bgcolor="#E4E9EC"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
			</tr>
			<tr>
				<td height="10"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
			</tr>
		</table>		
		<table width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td height="1" bgcolor="#C4CDD2"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
			</tr>			
		</table>
		<table width="100%" cellpadding="0" cellspacing="0" style="border:1px solid #C4CDD2; border-top:0px;">
			<tr>
				<td width="1" bgcolor="#DBE1E5"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
				<td style="border:5px solid white; border-bottom:0px">
					<table width="100%" cellpadding="0" cellspacing="0">
					<tr>
						<td style="border:1px solid #8CA2B1; " bgcolor="#FFFFFF">
							<table width="100%" cellpadding="0" cellspacing="0">
								<tr>
									<td style="line-height:150%">	
									<form name="order_settings" action="index.php" enctype="multipart/form-data" method="post">
									<input name="admin" type="hidden" value="1">
									<input name="module" type="hidden" value="shop_cart">
									<input name="act" type="hidden" value="set_settings">
									<input name="parent" type="hidden" value="{$smarty.get.order_id}">
									<input name="referer" type="hidden" value="{ext->get_referer}">
									{ext->class_function class="shop_cart" func="get_mod_settings" assign="cart_settings"}
										<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#F8F9F9">	
											<tr>
												<td width="15"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
												<td width="250" height="25" class="defaultFormLabel" align="right">{t t='Gavėjo el. pašto adresas:'}</td>
												<td width="15"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
												<td>
													<input type="text" name="to_email" value="{$cart_settings.cart_to|escape:"html"}"  class="defaultInputText">						
												</td>		
											</tr>
										</table>
										<table width="100%" cellpadding="0" cellspacing="0">
											<tr>
												<td height="1" bgcolor="#DBE1E5"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
											</tr>
										</table>
										<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#F8F9F9">	
											<tr>
												<td width="15"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
												<td width="250" height="25" class="defaultFormLabel" align="right">{t t='letters_subject'}</td>
												<td width="15"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
												<td>
													<input type="text" name="to_subject" value="{$cart_settings.cart_subject|escape:"html"}"  class="defaultInputText">						
												</td>		
											</tr>
										</table>
										<table width="100%" cellpadding="0" cellspacing="0">
											<tr>
												<td height="1" bgcolor="#DBE1E5"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
											</tr>
										</table>
										<table width="100%" cellpadding="0" cellspacing="0" bgcolor="#F8F9F9">	
											<tr>
												<td width="15"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
												<td width="250" height="25" class="defaultFormLabel" align="right">{t t='Laisko HTML sablonas'}</td>
												<td width="15"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
												<td>
													{ext->class_function class="shop_cart" func="get_all_source_types" assign="source_types"}
													<select name="template" style="width:200;">
													{foreach from=$source_types item="el"}
														<option value="{$el}" {if $cart_settings.cart_template == $el}selected{/if}>{$el}</option>
													{/foreach}
													</select>
												</td>		
											</tr>
										</table>
										<table width="100%" cellpadding="0" cellspacing="0">
											<tr>
												<td bgcolor="#FFFFFF" height="5">						
												</td>		
											</tr>
										</table>
										<table cellpadding="0" cellspacing="0" width="100%">
											<tr>
												<td bgcolor="#FFFFFF" height="5" width="150">						
												<input onClick="doSubmit('order_settings'); return false;" type="button" value="{t t="Išsaugoti pakeitimus"}" class="defaultFormButton" style="margin:10px ">
												</td>		
												<td bgcolor="#FFFFFF" height="5"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
											</tr>
										</table>
									</form>									
									</td>		
								</tr>
								<tr><td bgcolor="#FFFFFF" height="5"><img src="client/img/spacer.gif" class="spacer" alt="" /></td></tr>
							</table>
						</td>		
					</tr>
					<tr>
						<td bgcolor="#FFFFFF" height="5"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
					</tr>
					</table>
				</td>	
				<td width="1" bgcolor="#DBE1E5"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
			</tr>
		</table>
		</td>		
	</tr>	
</table>
<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="1" bgcolor="#DBE1E5"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>
	</tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td height="20"><img src="client/img/spacer.gif" class="spacer" alt="" /></td>		
	</tr>
</table>

